<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Rule extends Model
{
   protected $fillable=['name'];
   public function keyWord(){
       return $this->hasMany(KeyWord::class);
   }
   public function wxReply(){
       return $this->hasOne(WxReply::class);
   }
    public function wxImage(){
        return $this->hasOne(WxImage::class);
    }
}
